#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	int n = 0;
	char s;
	scanf("%d %c", &n, &s);
	for (int i = 0; i < n; i++)
	{
		int l = n;
		for (int j = 0; j < i; j++)
		{
			printf(" ");
		}
		for (int k = 0;k <n-i;k++)
		{
			printf("%c", s);
			 }
		printf("\n");

	}



	return 0;
}